import config from "@/config";
import http from "@/utils/request";
export default {
	page: {
		url: `${config.API_URL}/ai/gateway/user/limit/page`,
		name: "分页列表",
		get: async function (data) {
			return await http.post(this.url, data);
		},
	},
	remove: {
		url: `${config.API_URL}/ai/gateway/user/limit/remove`,
		name: "删除",
		post: async function (data) {
			return await http.post(this.url + "/" + data);
		},
	},
	create: {
		url: `${config.API_URL}/ai/gateway/user/limit/create`,
		name: "创建",
		post: async function (data) {
			return await http.post(this.url, data);
		},
	},
};
